package com.kalvan.client.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;

/**
 * 内部接口标准请求报文
 * 可扩展
 *
 * @author chenliang
 */
@Setter
@Getter
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Request<T> implements java.io.Serializable {
    static final long serialVersionUID = 1L;
    /**
     * 业务发起源appId
     */
    public String appId;
    /**
     * 请求数据对象
     */
    @Valid
    public T data;
}
